//Search view
DC.views.SearchView = new Ext.Panel({
    id:"search-view",
    items:[{
        xtype:'searchform'
    }]
})
//Search result
DC.views.SearchResults = new Ext.Panel({
    id:"search-result",
    title:"Search results",
    scroll:'vertical',
    tpl:"Search result view"
})

//Search
DC.views.search = Ext.extend(Ext.Panel,{
    fullscreen:true,
    layout:'fit',
    title:'Search',
    iconCls:'search_dc',
    items:[
    DC.views.SearchPanel = new Ext.Panel({
        /*xtype:'toolbar',*/
        title:'Search',
        layout:'card',
        dockedItems:{
            xtype:'toolbar',
            title:'Search'
        },
        items:[DC.views.SearchView, DC.views.SearchResults]		
    })
    ]
});
Ext.reg('search', DC.views.search);